/********************  prolayout 侧边栏样式  ********************/
.ant-pro-layout .ant-pro-layout-container {
}
.ant-pro-layout .ant-pro-layout-bg-list {
  // background: var(--common-bg-color) !important;
  background-image: url('../assets/layout/blue-bg.png') !important;
  // object-fit: cover !important;
  background-size: 100% !important;
  background-repeat: no-repeat !important;
  background-position: left top !important;
  background-color: var(--common-bg-color) !important;
}
.ant-layout-sider-children {
  border-inline-end: none !important;
}

.ant-layout-sider {
  box-shadow: 2px 0 8px 0 rgba(29, 35, 41, 0.05) !important;
  background-color: var(--common-bg-color) !important;
  border-inline-end: none !important;
}
.ant-menu-inline {
  border-inline-end: none !important;
}
.ant-layout-sider-children {
  padding: 0 !important;
  // box-shadow: ;
}
.ant-menu-item {
  margin: 0 !important;
  border-radius: 0 !important;
  width: 100% !important;
}
.ant-menu-sub,
.ant-menu-inline {
  padding-left: 0 !important;
}
.ant-menu-submenu-title {
  margin-inline: 0px !important;
  margin-block: 0px !important;
  width: 100% !important;
  border-radius: 0 !important;
}
.ant-menu-item-selected {
  background-color: var(--menu-item-select-bg-color) !important;
  &::after {
    content: '';
    display: block;
    width: 3px;
    height: 100%;
    background: var(--primary-color);
    position: absolute;
    right: 0;
    bottom: 0;
    top: 0;
  }
}
.ant-layout-sider {
  width: 200px !important;
}

.ant-pro-layout-content {
  // padding: 20px !important;
}

/********************  antd table表格样式  ********************/
/* 全局隐藏滚动条（排除antd表格） */
*:not(.ant-table-body)::-webkit-scrollbar {
  display: none;
}

*:not(.ant-table-body) {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

/* 恢复antd表格滚动条 */
.ant-table-body {
  scrollbar-width: auto !important;
  -ms-overflow-style: auto !important;
}

.ant-table-body::-webkit-scrollbar {
  display: block !important;
  width: 8px;
  height: 8px;
}

.ant-table-body::-webkit-scrollbar-thumb {
  background: rgba(0, 0, 0, 0.3);
  border-radius: 4px;
}

.ant-table-body::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.06);
}
